package org.edu.modules.sxjy.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import org.edu.modules.sxjy.common.noresubmit.CacheParam;
import org.jeecgframework.poi.excel.annotation.Excel;

public class VePostVo
        implements Serializable
{
    @TableId(type=IdType.AUTO)
    @ApiModelProperty("id")
    private int id;
    @CacheParam(name="cpId")
    @ApiModelProperty("企业名称]id")
    private int cpId;
    @Excel(name="企业名称", width=35.0D)
    @ApiModelProperty("企业名称")
    @CacheParam(name="name")
    private String name;
    @Excel(name="岗位名称", width=15.0D)
    @ApiModelProperty("岗位名称")
    @CacheParam(name="postName")
    private String postName;
    @Excel(name="企业指导教师", width=15.0D)
    @ApiModelProperty("企业指导教师")
    @CacheParam(name="realName")
    private String realName;
    @CacheParam(name="cteacherUserId")
    private int cteacherUserId;
    @CacheParam(name="status")
    private int status;

    public void setName(String name)
    {
        this.name = name;
    }

    public int hashCode()
    {
        int PRIME = 59;int result = 1;result = result * 59 + getId();result = result * 59 + getCpId();result = result * 59 + getCteacherUserId();result = result * 59 + getStatus();Object $name = getName();result = result * 59 + ($name == null ? 43 : $name.hashCode());Object $postName = getPostName();result = result * 59 + ($postName == null ? 43 : $postName.hashCode());Object $realName = getRealName();result = result * 59 + ($realName == null ? 43 : $realName.hashCode());return result;
    }

    protected boolean canEqual(Object other)
    {
        return other instanceof VePostVo;
    }

    public boolean equals(Object o)
    {
        if (o == this) {
            return true;
        }
        if (!(o instanceof VePostVo)) {
            return false;
        }
        VePostVo other = (VePostVo)o;
        if (!other.canEqual(this)) {
            return false;
        }
        if (getId() != other.getId()) {
            return false;
        }
        if (getCpId() != other.getCpId()) {
            return false;
        }
        if (getCteacherUserId() != other.getCteacherUserId()) {
            return false;
        }
        if (getStatus() != other.getStatus()) {
            return false;
        }
        Object this$name = getName();Object other$name = other.getName();
        if (this$name == null ? other$name != null : !this$name.equals(other$name)) {
            return false;
        }
        Object this$postName = getPostName();Object other$postName = other.getPostName();
        if (this$postName == null ? other$postName != null : !this$postName.equals(other$postName)) {
            return false;
        }
        Object this$realName = getRealName();Object other$realName = other.getRealName();return this$realName == null ? other$realName == null : this$realName.equals(other$realName);
    }

    public void setStatus(int status)
    {
        this.status = status;
    }

    public void setCteacherUserId(int cteacherUserId)
    {
        this.cteacherUserId = cteacherUserId;
    }

    public void setRealName(String realName)
    {
        this.realName = realName;
    }

    public void setId(int id)
    {
        this.id = id;
    }

    public void setCpId(int cpId)
    {
        this.cpId = cpId;
    }

    public String toString()
    {
        return "VePostVo(id=" + getId() + ", cpId=" + getCpId() + ", name=" + getName() + ", postName=" + getPostName() + ", realName=" + getRealName() + ", cteacherUserId=" + getCteacherUserId() + ", status=" + getStatus() + ")";
    }

    public void setPostName(String postName)
    {
        this.postName = postName;
    }

    public int getId()
    {
        return this.id;
    }

    public int getCpId()
    {
        return this.cpId;
    }

    public String getName()
    {
        return this.name;
    }

    public String getPostName()
    {
        return this.postName;
    }

    public String getRealName()
    {
        return this.realName;
    }

    public int getCteacherUserId()
    {
        return this.cteacherUserId;
    }

    public int getStatus()
    {
        return this.status;
    }
}
